package com.shuiyun.jtt.message.jt808;

import com.shuiyun.jtt.anno.Message;
import com.shuiyun.jtt.enums.JT808;
import com.shuiyun.jtt.message.JTMessage;
import com.shuiyun.jtt.utils.codec.DataType;
import com.shuiyun.jtt.utils.codec.FieldValue;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author shuiyun
 * @program device-simulator
 * @description 行驶记录参数下传指令
 * @date 2022-05-11 23:50
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@Message(JT808.行驶记录仪参数下传命令0x8701)
public class T8701 extends JTMessage {

    @FieldValue(type = DataType.BYTE,desc = "命令字")
    private Integer command;

    @FieldValue(type = DataType.BYTES,desc = "数据块")
    private byte[] content;
}
